package com.uspacex.calculate;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
@MapperScan("com.uspacex.calculate.mapper")
public class CalculateApplication extends SpringBootServletInitializer { // 打包为war需要添加该继承
    public static void main(String[] args) {
        SpringApplication.run(CalculateApplication.class, args);
    }
}
